<?php
/**
 * UI生成类接口文件
 * @author Alen
 * @since Version 1.0 2014-1-25
 */
interface ISoUIGenerator {        
    function reset_params();
    function add_literal($str);
    function begin_table($attr='');
    function end_table();
    function add_thead();
    function add_thead2($arr);
    function add_trow();
    function add_treerow();
    function begin_form($ismultipart=false);
    function end_form();
    function add_textfield($title,$name,$value='',$tip='');
    function add_textareafield($title,$name,$value,$rows=3,$cols=0,$tip='');
    function add_staticfield($title,$value);
    function add_editorfield($title,$name,$value='',$rows=12);    
    function add_selectfield($title,$name,$data,$value='');
    function add_radiofield($title,$name,$data,$value='');    
    function add_checkfield($title,$name,$data,$value='');
    function add_filefield($title,$name,$src);
    function add_controlfield($btns=array('save'));
    function add_hiddenfield($params);
    function get_breadcrumb($arr);
    function get_search($val='',$url='#',$btn_text='搜索');
    function get_h1($h1,$small='');
    function get_linkbutton($text,$url,$attr='');
    function get_text();
}
